<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPage3.master" CodeFile="ReporteProveedores.aspx.cs" Inherits="ReporteProveedores" %>

<%@ Register Assembly="CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
    
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content ContentPlaceHolderID="ContentPlaceHolder1" runat="server" ID="C_ReporteProveedores">
<fieldset>
<legend>Reporte Proveedores</legend>
    <table class="tabla">
        <tr>
            <td>
                </td>
            <td colspan="4">
                </td>
            <td colspan="2">
            </td>
            <td colspan="1">
            </td>
            <td colspan="1">
            </td>
            <td colspan="1">
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
            </td>
            <td>
            </td>
            <td>
            </td>
            <td>
            </td>
            <td colspan="2">
            </td>
            <td colspan="1" style="width: 35px">
            </td>
            <td colspan="1">
            </td>
            <td colspan="1">
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:Label ID="lb_codProveedorBuscar" runat="server" CssClass="label" Text="Codigo del Proveedor:"></asp:Label>
            </td>
            <td class="izquierda">
                <asp:TextBox ID="tb_codProveedor" runat="server" CssClass="textBoxLetras, textBox10"
                    MaxLength="10"></asp:TextBox>
                &nbsp;
            </td>
            <td>
            </td>
            <td>
                <asp:Label ID="lb_empresa" runat="server" CssClass="label" Text="Empresa:"></asp:Label></td>
            <td colspan="2">
                <asp:TextBox ID="tb_empresa" runat="server" CssClass="textBoxLetras, textBox30" MaxLength="30"></asp:TextBox></td>
            <td colspan="1" style="width: 35px">
            </td>
            <td colspan="1">
                <asp:Label ID="lb_nroDocumento" runat="server" CssClass="label" Text="Nro Documento:"></asp:Label></td>
            <td colspan="1">
                <asp:TextBox ID="tb_nroDocumento" runat="server" CssClass="textBoxLetras, textBox10"></asp:TextBox></td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
            </td>
            <td>
            </td>
            <td>
            </td>
            <td>
            </td>
            <td colspan="2">
            </td>
            <td colspan="1" style="width: 35px">
            </td>
            <td class="derecha" colspan="2">
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
            </td>
            <td>
            </td>
            <td>
            </td>
            <td>
            </td>
            <td colspan="2">
            </td>
            <td colspan="1" style="width: 35px">
            </td>
            <td class="derecha" colspan="2">
                <asp:ImageButton ID="ib_reporte" runat="server" CssClass="tamanhoBoton" ImageUrl="~/imagen/lupa.png"
                    OnClick="ib_reporte_Click" ToolTip="Generar Reporte" />
                <asp:ImageButton ID="ib_cancelar" runat="server" CssClass="tamanhoBoton" ImageUrl="~/imagen/cancel.png"
                    OnClick="ib_cancelar_Click" ToolTip="Cancelar" /></td>
        </tr>
    </table>
    <cc1:FilteredTextBoxExtender ID="ftbe_codProveedor" runat="server" FilterType="Numbers"
        TargetControlID="tb_codProveedor">
    </cc1:FilteredTextBoxExtender>
    <cc1:FilteredTextBoxExtender ID="ftbe_empresa" runat="server" FilterType="LowercaseLetters, UppercaseLetters, Custom"
        TargetControlID="tb_empresa" ValidChars=" -&">
    </cc1:FilteredTextBoxExtender>
    <cc1:FilteredTextBoxExtender ID="nro_documento" runat="server" FilterType="numbers"
        TargetControlID="tb_nroDocumento">
    </cc1:FilteredTextBoxExtender>
    &nbsp;
</fieldset>

<fieldset>
<legend>Reporte</legend>
    <table>
        <tr>
            <td>
            </td>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
            </td>
            <td>
                &nbsp;<CR:CrystalReportViewer ID="Reporte_Proveedores" runat="server" AutoDataBind="True"
                    DisplayGroupTree="False" Height="823px" ReportSourceID="CrystalReportSource1"
                    Width="1289px" />
                <CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
                    <Report FileName="Reportes\ReporteProveedores.rpt">
                    </Report>
                </CR:CrystalReportSource>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
            </td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</fieldset>
</asp:Content>
